<div>
    <div class="operaWrap p100">
        线别：<nz-select class="wd150" [compareWith]="compareFn" (ngModelChange)="lbChange($event)" nzAllowClear nzPlaceHolder="请选择线别"
            [(ngModel)]="searchParam.line">
            <nz-option *ngFor="let item of xbSelect" [nzValue]="item" [nzLabel]="item.name"></nz-option>
        </nz-select>
        &nbsp;&nbsp;&nbsp;
        车站：<nz-select class="wd150" nzAllowClear nzPlaceHolder="请选择车站" [(ngModel)]="searchParam.stationId">
            <nz-option *ngFor="let item of czSelect" [nzValue]="item.id" [nzLabel]="item.name"></nz-option>
        </nz-select>
        &nbsp;&nbsp;&nbsp;
        图册名称：<nz-select class="wd150" nzAllowClear nzPlaceHolder="请选择图册名称" [(ngModel)]="searchParam.album">
            <nz-option *ngFor="let item of tcmcSelect" [nzValue]="item.value" [nzLabel]="item.label"></nz-option>
        </nz-select>
        &nbsp;&nbsp;&nbsp;
        图纸名称：<nz-select class="wd150" nzAllowClear nzPlaceHolder="请选择图册名称" [(ngModel)]="searchParam.dwg">
            <nz-option *ngFor="let item of tzmcSelect" [nzValue]="item.value" [nzLabel]="item.label"></nz-option>
        </nz-select>
        &nbsp;&nbsp;&nbsp;
        上传时间起：<nz-date-picker [(ngModel)]="searchParam.createTimeL"></nz-date-picker>
        &nbsp;&nbsp;&nbsp;
        止：<nz-date-picker [(ngModel)]="searchParam.createTimeR"></nz-date-picker>
        &nbsp;&nbsp;&nbsp;
        上传部门：<nz-tree-select class="wd150" nzShowSearch [nzDropdownMatchSelectWidth]="false"
            [nzDropdownStyle]="treeNodeStyle" nzPlaceHolder="请选择上传部门" [nzNodes]="scbmNodes"
            [(ngModel)]="searchParam.createOrgId">
        </nz-tree-select>
        &nbsp;&nbsp;&nbsp;
        <button nz-button nzType="default" (click)="search()"><i nz-icon nzType="search"></i>查询</button>
    </div>
    <div *ngIf="pageType === 'edit'" class="operaWrap p0010">
        <button nz-button nzType="default" (click)="modalShow('addModal')"><i nz-icon nzType="plus-circle"></i>新增</button>
        <button nz-button nzType="default" (click)="modalShow('editModal')"><i nz-icon nzType="edit"></i>修改</button>
        <button nz-button nzType="default" (click)="modalShow('delModal')"><i nz-icon nzType="delete"></i>删除</button>
    </div>
</div>

<app-tablecheckpage #tcp [tableId]="'cadDrawings'" [headData]="headData" [plainData]="plainData">
</app-tablecheckpage>

<app-operamodal *ngIf="operaList.addModal" [cadData]="cadData" [popTitle]="'新增'" [operaType]="'add'" [apiUrl]="apiUrl.add"
    (closeModal)="modalHide('addModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.editModal" [cadData]="cadData" [popTitle]="'修改'" [operaType]="'edit'" [apiUrl]="apiUrl.edit"
    [responseData]="tempData" (closeModal)="modalHide('editModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.delModal" [popTitle]="'删除'" [operaType]="'del'" [apiUrl]="apiUrl.del"
    [responseData]="tempData" (closeModal)="modalHide('delModal')" (reloadData)="loadList()">
</app-operamodal>